enum keys {K_UNKNOWN, K_UP, K_DOWN, K_LEFT, K_RIGHT, K_F5, K_ESC, K_ENTER, K_MAX};

extern int rk_readkey(enum keys *);
extern int rk_mytermsave(void);
extern int rk_mytermrestore(void);
extern int rk_mytermregime (int regime, int vtime, int vmin, int echo, int sigint);
